projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
217185b
)
net: xilinx_axi: Use interface type instead of zero
author
Siva Durga Prasad Paladugu
<
[email protected]
>
Sun, 21 Feb 2016 10:16:14 +0000
(15:46 +0530)
committer
Michal Simek
<
[email protected]
>
Mon, 4 Apr 2016 18:10:44 +0000
(20:10 +0200)
Pass appropriate interface type to phy_connect
instead of zero.
Signed-off-by: Siva Durga Prasad Paladugu <
[email protected]
>
Acked-by: Joe Hershberger <
[email protected]
>
Signed-off-by: Michal Simek <
[email protected]
>
drivers/net/xilinx_axi_emac.c
patch
|
blob
|
history
diff --git
a/drivers/net/xilinx_axi_emac.c
b/drivers/net/xilinx_axi_emac.c
index 81274ee13bca869567ecc3986f4f90fe8c071f7d..46b8d2d07ee94c00c05109212a903152d1662e90 100644
(file)
--- a/
drivers/net/xilinx_axi_emac.c
+++ b/
drivers/net/xilinx_axi_emac.c
@@
-251,7
+251,7
@@
static int axiemac_phy_init(struct udevice *dev)
}
/* Interface - look at tsec */
- phydev = phy_connect(priv->bus, priv->phyaddr, dev,
0
);
+ phydev = phy_connect(priv->bus, priv->phyaddr, dev,
priv->interface
);
phydev->supported &= supported;
phydev->advertising = phydev->supported;